import 'core-js/stable'
import 'regenerator-runtime/runtime'

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/js/mixin';
// 全局引入按需引入UI库 vant
import '@/plugins/vant'
// 引入全局样式
import '@/assets/css/index.less'
// 移动端适配
import 'amfe-flexible'
// icon
// import './assets/icons'


Vue.config.productionTip = false

import VideoPlayer from 'vue-video-player'
//引入样式
import 'vue-video-player/src/custom-theme.css'
import 'video.js/dist/video-js.css'
import 'videojs-contrib-hls'
//使用组件
Vue.use(VideoPlayer)

// 调试工具 上线要隐藏
import Vconsole from 'vconsole'
// if (process.env.NODE_ENV !== "production") {
//   new Vconsole()
// }


new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
